package com.uacp.sgb.vista.util;

import javax.faces.application.FacesMessage;

import org.primefaces.context.RequestContext;

public class DialogBean 
{  
    public static void registroAdquisicion() 
    {  
        FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, "Adquisicion", "Se registro la adquisicion");  
          
        RequestContext.getCurrentInstance().showMessageInDialog(message);  
    }  
    
    public static void validacionAdquisicion() 
    {  
        FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, "Adquisicion", "Se valido la adquisicion");  
          
        RequestContext.getCurrentInstance().showMessageInDialog(message);  
    } 
}  